package com.yanqu.road.entity.activity.zhenhuan.secondProcess;

import com.yanqu.road.entity.DataObject;
import com.yanqu.road.entity.FieldTypeAnnotation;

@FieldTypeAnnotation(tableName = "t_c_zhenhuan_party", desc = "甄嬛传第二阶段跨服茶话会数据")
public class CrossZhenHuanPartyData extends DataObject {
    @FieldTypeAnnotation(select = true, update = true, desc = "活动id")
    private int activityId;
    @FieldTypeAnnotation(select = true, update = true, desc = "茶话会id")
    private long partyId;
    @FieldTypeAnnotation(desc = "举办的玩家id")
    private long userId;
    @FieldTypeAnnotation(desc = "举办时间")
    private long openTime;
    @FieldTypeAnnotation(desc = "结算时间")
    private long finishTime;
    @FieldTypeAnnotation(desc = "预估的结束时间")
    private long endTime;
    @FieldTypeAnnotation(desc = "举办等级")
    private int level;
    @FieldTypeAnnotation(desc = "共享威信度总和")
    private long extraPrestige;
    @FieldTypeAnnotation(desc = "是否同步到游戏服")
    private int syncState;

    public CrossZhenHuanPartyData() {
    }

    public CrossZhenHuanPartyData(int activityId, long partyId) {
        this.activityId = activityId;
        this.partyId = partyId;
        setInsertOption();
    }

    public int getActivityId() {
        return activityId;
    }

    public void setActivityId(int activityId) {
        this.activityId = activityId;
    }

    public long getPartyId() {
        return partyId;
    }

    public void setPartyId(long partyId) {
        this.partyId = partyId;
    }

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public long getOpenTime() {
        return openTime;
    }

    public void setOpenTime(long openTime) {
        this.openTime = openTime;
        setUpdateOption();
    }

    public long getFinishTime() {
        return finishTime;
    }

    public void setFinishTime(long finishTime) {
        this.finishTime = finishTime;
        setUpdateOption();
    }

    public int getLevel() {
        return level;
    }

    public void setLevel(int level) {
        this.level = level;
        setUpdateOption();
    }

    public long getEndTime() {
        return endTime;
    }

    public void setEndTime(long endTime) {
        this.endTime = endTime;
        setUpdateOption();
    }

    public int getSyncState() {
        return syncState;
    }

    public void setSyncState(int syncState) {
        this.syncState = syncState;
        setUpdateOption();
    }

    public long getExtraPrestige() {
        return extraPrestige;
    }

    public void setExtraPrestige(long extraPrestige) {
        this.extraPrestige = extraPrestige;
    }
}
